package com.jumeng.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

public enum CourseEnum implements IEnum<Integer> {
    FINANCE(1,"商学院"),

    CULTURE(2,"渠道部"),

    POLITICS(3,"管理培训");



    private final Integer value;

    private final String name;

    CourseEnum(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    @Override
    public Integer getValue() {
        return value;
    }


    public String getName() {
        return name;
    }
}
